﻿using System;
using System.Net;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace SilverlightGraph.Graph
{
    public class Graph1
    {
        List<Node> _nodes;
        List<Edge> _edges;
        Double _width;
        Double _height;
        

        public Graph1(List<Node> nodes, List<Edge> edges)
        {
            this._nodes = nodes;
            this._edges = edges;
        }

        public Graph1(List<Node> nodes, List<Edge> edges, double width, double height)
        {
            this._nodes = nodes;
            this._edges = edges;
            this._width = width;
            this._height = height;
        }

        public List<Node> Nodes
        {
            get { return _nodes; }
            set { _nodes = value; }
        }

        public List<Edge> Edges
        {
            get { return _edges; }
            set { _edges = value; }
        }

        public Double Width
        {
            get { return _width; }
            set { _width = value; }
        }

        public Double Height
        {
            get { return _height; }
            set { _height = value; }
        }
    }
}
